package com.example.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/page")
public class HelloPageController extends BaseController{

	@GetMapping({"", "/"})
	public String index(Model model) {
		model.addAttribute("name", "Dear");
		return "hello";
	}
	
}
